non homogeneous recurrence Relation